﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WenDangOne.DbModel.BaseInfoManager;

namespace WenDangOne.ViewModel.BaseInfoManagerView
{
	public class LoginUser
	{
		/// <summary>
		/// 用户名
		/// </summary>

		public string user_name
		{
			get; set;
		}

		/// <summary>
		/// 用户全名
		/// </summary>
		public string user_full_name
		{
			get; set;
		}
		/// <summary>
		/// 用户状态 1:有效  2:无效
		/// </summary>
		public int user_status
		{
			get; set;
		}
		public string Token { get; set; }

		//验证权限，角色的字符串，
		public List<RoleDb> Roles { get; set; }

		//相应的权限
		public List<string> ModelCodes { get; set; }
	}
}
